package enum

import "mldong/utility"

func init() {
	utility.RegisterEnumValues("角色类型", "sys_role_role_type", []interface{}{
		ROLE_TYPE_COMMON,
		ROLE_TYPE_DATA,
		ROLE_TYPE_WORKFLOW,
	})
}

// 角色类型枚举
type RoleTypeEnum struct {
	Key     string
	Code    int
	Message string
}

var ROLE_TYPE_COMMON = RoleTypeEnum{Key: "COMMON_ROLE", Code: 1, Message: "普通角色"}
var ROLE_TYPE_DATA = RoleTypeEnum{Key: "DATA_ROLE", Code: 2, Message: "数据角色"}
var ROLE_TYPE_WORKFLOW = RoleTypeEnum{Key: "WORKFLOW_ROLE", Code: 3, Message: "工作流"}
